package com.mzj.saas.mservice.lifePay.entity;


import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 生活缴费明细记录表
 */

@Entity
@Table(name = "saas_living_payment_log")
public class LivingPaymentLog extends IdEntity {

    /*
     *缴费用户id
     */
    @Column(name = "user_id", nullable = true)
    private String userId;
    /*
     *费用类型：1水费 2电费 3物业费 4宽带费 5电视费 6煤气费 7暖气费 8租金 9押金
     */
    @Column(name = "type", nullable = true)
    private Integer type;
    /*
     *账单类型：1户号费 2房屋缴费
     */
    @Column(name = "bill_type", nullable = true)
    private Integer billType;
    /*
     *缴费名称
     */
    @Column(name = "name", nullable = true)
    private String name;
    /*
     *户号：房屋费用显示ID，户号费用显示户号
     */
    @Column(name = "account", nullable = true)
    private String account;
    /*
     *户号费用账单id
     */
    @Column(name = "living_payment_id", nullable = true)
    private Long livingPaymentId;
    /*
     *房屋id
     */
    @Column(name = "house_id", nullable = true)
    private String houseId;
    /*
     *房屋绑定id
     */
    @Column(name = "house_bind_id", nullable = true)
    private Long houseBindId;
    /*
     *房屋费用账单id
     */
    @Column(name = "buill_id", nullable = true)
    private Long buillId;
    /*
     *房屋地址
     */
    @Column(name = "address", nullable = true)
    private String address;
    /*
     *缴费金额
     */
    @Column(name = "amount", nullable = true)
    private Integer amount;
    /*
     *缴费时间
     */
    @Column(name = "payment_time", nullable = true)
    private Date paymentTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getBillType() {
        return billType;
    }

    public void setBillType(Integer billType) {
        this.billType = billType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Long getLivingPaymentId() {
        return livingPaymentId;
    }

    public void setLivingPaymentId(Long livingPaymentId) {
        this.livingPaymentId = livingPaymentId;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public Long getHouseBindId() {
        return houseBindId;
    }

    public void setHouseBindId(Long houseBindId) {
        this.houseBindId = houseBindId;
    }

    public Long getBuillId() {
        return buillId;
    }

    public void setBuillId(Long buillId) {
        this.buillId = buillId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }
}
